package service.impl;

import dao.tuserMapper;
import org.springframework.stereotype.Service;
import pojo.Tuser;
import service.tuserService;

import javax.annotation.Resource;

@Service("os")
public class tuserServiceImpl implements tuserService {
    @Resource(name = "tmi")
    private tuserMapper tt;

    public tuserMapper getTt() {
        return tt;
    }

    public void setTt(tuserMapper tt) {
        this.tt = tt;
    }

    public Tuser login(String uname, String upass) {
        return tt.login(uname, upass);

    }
}